package com.daedalus.Polimorfizmi.InterfaceAbstractShape;

public class Circle extends TwoDimensionalShape{

	public Circle(double radius) {
		super(radius);
	}

	@Override
	public double getArea() {
		return getDimension()*getDimension()*Math.PI;		
	}

	public String toString(){
		return String.format("Object : Circle  \nRadius: %.2f",getDimension());
	}
}
